package com.fxm.client;

import com.fxm.config.feign.MenuFeignConfig;
import com.fxm.returns.RespEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
/**
 * @author fxm
 * @version V1.0.0
 * @description: 菜单管理 feign调用
 * @date 2021/02/04 09:29
 */
@FeignClient(name = "menuFeignClient", url = "${manage.url}", configuration = MenuFeignConfig.class)
public interface MenuClient {

    /**
     * 菜单列表
     * @return
     */
    @GetMapping("/menu")
    RespEntity queryAllMenu();

}
